Verify VNIN
PATCH /api/v1/users/{userId}/nin/{nin}/vnin/{vninCode}
Description
Verifies the VNIN. To initiate this process, dial 3463customer NIN696739# on your phone.
Path Parameters
| Name | Type | Description |
|---|---|---|
vninCode | string | The VNIN code to verify (path) |
userId | string | The user ID (path) |
nin | string | The NIN (path) |
Query Parameters
| Name | Type | Description |
|---|---|---|
dob | string | Date of birth in YYYY-MM-DD format (query) |
Example
PATCH /api/v1/users/{userId}/nin/{nin}/vnin/{vninCode}?dob=1990-01-20
Content-Type: application/json
#### Responses
- **Code:** 200
**Description:** VNIN verified successfully.
**Example Response:**
```json
{
"message": "VNIN verified successfully"
}
Method: PATCH
>http://your-api-url/api/v1/users/{userId}/nin/{nin}/vnin/{vninCode}
Example Request
PATCH /api/v1/users/123/nin/456/vnin/789
Content-Type: application/json
{
"dob": "1990-01-20"
}
Headers
| Content-Type | Value |
|---|---|
| apiKey | {{apiKey}} |
| userId | 123 |
| nin | 456 |
| vninCode | 789 |
🔑 Authentication bearer
| Param | value | Type |
|---|---|---|
| token | bearerToken | string |
LANGUAGE
CURL REQUEST
curl --request PATCH \
--url /api/v1/users/{userId}/nin/{nin}/vnin/{vninCode} \
--header 'accept: application/json' \
--header 'content-type: application/json'
RESPONSE
Click Try It! to start a request and see the response here!